package com.qd.panda.model;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * 退款凭证
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("panda_user_wallet_refund_apply_file")
public class UserWalletRefundApplyFile extends Model<UserWalletRefundApplyFile> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "voucher_id", type = IdType.ASSIGN_ID)
    private String voucherId;
    /**
     * 名称
     */
    @TableField("pic_name")
    private String picName;
    /**
     * 路径
     */
    @TableField("pic_path")
    private String picPath;
    /**
     * 排序
     */
    @TableField("idx")
    private Integer idx;
    /**
     * 申请ID
     */
    @TableField("request_id")
    private String requestId;
    /**
     * 附件类型
     */
    @TableField("attachment_type")
    private String attachmentType;
    /**
     * 操作组织
     */
    @TableField("operate_org_id")
    private String operateOrgId;
    /**
     * 操作人
     */
    @TableField("operator")
    private String operator;

    public void freeData() {
        this.voucherId = null;
        this.picName = null;
        this.picPath = null;
        this.idx = null;
        this.requestId = null;
        this.attachmentType = null;
        this.operateOrgId = null;
        this.operator = null;
    }

}
